<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">

<head>
    <title>GeoTree Demo</title>
    <meta name="viewport" content="initial-scale=1.0, user-scalable=no" />
    <link href="/css/main.css" type="text/css" rel="stylesheet" />
    <script type="text/javascript" src= "http://www.google.com/jsapi"> </script> 
    <script type="text/javascript"> google.load("jquery", "1.3.2"); </script> 
    <script src="http://maps.google.com/maps?file=api&v=2&key={{map_key}}" type="text/javascript"></script> 
    <script type="text/javascript" src="/js/map.js"></script>
</head>

<body id="index" class="home" onload="load()" onunload="GUnload()"> 

    <div id="top_bar">
        <div id="header" class="container">
            <h1 class="main-title">GeoTree Demo</h1>
            <h2 class="main-title">Add and remove points manually</h2>
        </div>
    </div>

    <div id="content" class="container">
        
        <div id="map_container"> 
            <div id="map_canvas"></div> 
        </div> 

        <div id="sidebar"> 
            <div id="options"> 
                <h3>Options</h3>
                <p>Next point importance: <input type="text" id="importance" value="1" size="3"/></p>
                <p>Update just one tile: <input type="checkbox" id="update_one" name="update_one" value="True"></p>
                <p class="button"><input type="button" onclick="updateMap()" value="Update Map" /></p>
            </div> <!-- options -->
            <div id="info">
                <h3>Info</h3>
                <p>Center tile:<span id="center_tile_info"></span></p>
                <p id="geo_tree_info"></p>
            </div> <!-- info -->
        </div> <!-- sidebar-->

        <div id="description">
            <p>
            Add points by clicking to the map. Remove a point by double-clicking it. The map needs to be updated to delete just added markers.
            </p>
            <p>
            The latest GeoTree info is shown after each transaction.
            </p>
            <p>
            An option to choose to update the maximum tile or to update several tiles. Point importance may be specified before entrance.
            </p>
        </div> <!-- description -->

    </div> <!-- content -->

</body>
</html>
